using System;

namespace FreeFlow.Client.Events
{
  /// <summary>
  /// Event arguments for the form refill event.
  /// </summary>
  public class RefillFormEventArgs : EventArgs
  {
    /// <summary>
    /// Creates a new <see cref="RefillFormEventArgs"/> instance.
    /// </summary>
    /// <param name="updatedField">The field that caused the refill.</param>
    public RefillFormEventArgs(string updatedField)
    {
      this.updatedField = updatedField;
    }

    private string updatedField;
    /// <summary>
    /// Gets the field that caused the refill.
    /// </summary>
    public string UpdatedField
    {
      get { return updatedField; }
    }
  }
}
